package com.hotel.daos;


import com.hotel.entitys.Staff;
import com.hotel.entitys.Vip;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VipMapper {
    public List<Vip> selectAllvip(@Param("keyword") String keyword);
    public Vip login(@Param("vip_telephone") String telephone, @Param("vip_idcard") String vip_idcard);
    public int updateVip(Vip vip);
    public int deleteVipById(Integer vip_id);
    public int deleteVipByIds(Object[] ids);
    public int insertVip(Vip vip);
    public Vip selectVipById(Integer vip_id);
    public Vip selVip(@Param("telephone")String telephone);
}
